package com.yunqiao.service.api;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunqiao.common.utils.PageUtils;
import com.yunqiao.service.api.entity.ComplaintEntity;
import com.yunqiao.service.api.vo.ComplaintVo;

import java.util.Map;

/**
 * 投诉表
 *
 * @author Crocutax
 * @email wangxw725@163.com
 * @date 2019-03-02 15:17:18
 */
public interface ComplaintService extends IService<ComplaintEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveComplaint(ComplaintEntity complaint);

    ComplaintVo details(Integer id);

    void updateComplain(ComplaintEntity complaint) throws Exception;
}

